<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="../styles/style.css"></link>
<title>用户注册</title>
</head>
<body>

<f:view>
	<div class="mainbg">
		<div class="innerbg">
			<div class="table" style="width:300px;height:140px;">
				<div class="tableHead">用户登录</div>
				<h:form>
							<table>
								<tr>
									<td><h:outputText value="用户名:"></h:outputText></td>
									<td><h:inputText value="#{member.userName}"></h:inputText></td>
								</tr>
								<tr>
									<td><h:outputText value="密码:"></h:outputText></td>
									<td><h:inputSecret  value="#{member.password}"></h:inputSecret></td>
								</tr>
								<tr>
									<td></td>
									<td>
										 <h:commandButton value="登录" action="login"></h:commandButton> <h:commandButton actionListener="#{messageBean.register}" value="注册"></h:commandButton>
									</td>
								</tr>
							</table>
						</h:form>
				</div>
			</div>
		</div>
		</f:view></body>
</html>